/*
** my_str_isalpha.c for  in /home/georgi_v/rendu/Piscine-C-Extentions
** 
** Made by georgi_v
** Login   <georgi_v@epitech.net>
** 
** Started on  Fri Oct  4 11:02:58 2013 georgi_v
** Last update Fri Dec  6 18:24:57 2013 georgi_v
*/

int	my_str_isalpha(char *str)
{
  while (*str)
    {
      if (!((*str >= 'A' && *str <= 'Z') || (*str >= 'a' && *str <= 'z')))
	return (-1);
      str++;
    }
  return (1);
}
